<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "{{%house_type_image}}".
 *
 * @property int    $tid
 * @property string $img_path 图片
 * @property string $typeid     
 */
class HouseTypeImglistModel extends \yii\db\ActiveRecord
{

    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%house_type_imglist}}';
    }

    
    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['tid'], 'integer'],
            [['typeid'], 'integer'],
            [['img_path'], 'string', 'max' => 100],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'tid' => 'ID',
            'typeid' => '户型表图片id',
            'img_path' => '图片'
        ];
    }
}
